package com.dataeco.api.repository;

import com.dataeco.api.entity.Roles;
import org.springframework.data.jpa.repository.JpaRepository;


public interface RolesRepository extends JpaRepository<Roles,String>{
    Roles findByCode(String code);
    Roles findByName(String name);
}
